From: Jonas Dreßler Date: Mon, 27 Jan 2020 22:42:28 +0000 (+0100) Subject: altTab: Don't fade out thumbnails on destroy X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~772^2^2~22 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=51b7eb7a2b93f7a13440b95712152f5ca335927d;p=gnome-shell.git altTab: Don't fade out thumbnails on destroy The thumbnails actor `this._thumbnails` has already been destroyed when calling `_destroyThumbnails()` from the `destroy` signal handler because it is a child actor of the AppSwitcherPopup. So stop destroying the thumbnails separately (fading them out inside a destroy handler wouldn't make sense anyway). https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/167 --- diff --git a/js/ui/altTab.js b/js/ui/altTab.js index 35d991e20..94b80f792 100644 --- a/js/ui/altTab.js +++ b/js/ui/altTab.js @@ -280,12 +280,10 @@ class AppSwitcherPopup extends SwitcherPopup.SwitcherPopup { } _onDestroy() { - super._onDestroy(); - - if (this._thumbnails) - this._destroyThumbnails(); if (this._thumbnailTimeoutId != 0) GLib.source_remove(this._thumbnailTimeoutId); + + super._onDestroy(); } /**